package com.mz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mz.common.dto.PaginationVo;
import com.mz.common.dto.R;
import com.mz.entity.UmsPermissionInfo;
import com.mz.entity.vo.UmsPermissionInfoQuery;

import java.util.List;

/**
 * (UmsPermissionInfo)表服务接口
 *
 * @author makejava
 * @since 2023-12-13 13:38:35
 */
public interface UmsPermissionInfoService  {

    IPage getPermissionPagination(PaginationVo paginationVo, UmsPermissionInfoQuery umsPermissionInfoQuery) throws Exception;


    void addPermission(UmsPermissionInfo umsPermissionInfo) throws Exception;

    void removePermission(List<Long> idList) throws Exception;

    List<UmsPermissionInfo> getPermissionAllList() throws Exception;
}

